package com.css.modules.lawRepo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.css.common.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


import java.io.Serializable;
import java.util.Date;

/**
 * @Author: Chen Ao
 * @Date: 2020/2/18/018
 * @Description
 * @Version 1.0
 */
@Data
@TableName("LAW_REPO_DOC")
public class LawRepoDocEntity extends BaseEntity {


    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    private String id;

    private String lawCategory;

    private String lawName;

    private String issuingAuthority;

    private String issueNumber;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date releaseDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date effectiveDate;

    private String lawContent;

    private String keyword;

    private String effectivenessLevel;

}
